Ext.define('NF.model.Livestock', {
    extend:'Ext.data.Model',
    fields:['id','name','givenId','dateOfBirth','purchaseDate','weight','height','genetics','purchasePrice',
        'salePrice','listPrice','gender'],
    belongsTo:{model:'Farm',name:'farm'},
    belongsTo:{model:'Livestock',name:'mother'},
    belongsTo:{model:'Livestock',name:'father'},
    belongsTo:{model:'LivestockStatusType',name:'livestockStatusType'}
});